import Axios from "@/utils/request";
import type { HttpResponse } from '@/api/types';

// message
export default {
  // 信息列表
  getMessageDataList(params: any): Promise<HttpResponse> {
    return Axios.post('http://hxbfb.bailingkeji.com/maintain/maintain/data-list', params)
  },
  // 创建刷新订单
  getRefreshClick(params: any): Promise<HttpResponse> {
    return Axios.post('http://hxbfb.bailingkeji.com/maintain/maintain/create-to-user-task', params)
  },
  // 任务流转记录
  getTaskLogs(params: any): Promise<HttpResponse> {
    return Axios.post('http://hxbfb.bailingkeji.com/maintain/maintain/task-logs', params)
  },
  // 信息删除
  messageTaskHandle(params: any): Promise<HttpResponse> {
    return Axios.post('http://hxbfb.bailingkeji.com/maintain/maintain/task-handle', params)
  },
  // 信息详情
  messageTaskDetails(params: any): Promise<HttpResponse> {
    return Axios.post('http://hxbfb.bailingkeji.com/maintain/maintain/task-detail', params)
  },
}
